<template>
  <div></div>
</template>

<script>
import { convert2Echarts } from '@/utils/encodeGeojson'
import { DownloadUtil } from '@/utils/download'
import { decodeGeojson } from '@/utils/decodeGeojson'

export default {
  data() {
    return {}
  },
  mounted() {
    let test1 =  new URL('../json/test1.json', import.meta.url)
    console.log('test1',test1)
    const resultGeojson = decodeGeojson(
      new URL('../json/test1.json', import.meta.url)
    )
    console.log('resultGeojson', resultGeojson)

    // const zip = convert2Echarts(new URL('../json/test.json', import.meta.url))
    // const load = new DownloadUtil()
    // load.addFileInZip('test1', zip)
    // load.packageZipAndDownload('test1')
  },
}
</script>

<style lang="scss" scoped></style>
